package com.ynkbny.domain.mongo;

import cn.hutool.json.JSONObject;
import com.ynkbny.annotate.Like;
import com.ynkbny.annotate.PageNum;
import com.ynkbny.annotate.PageSize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;

/**
 * 上报日志-查询条件
 *
 * @author : juzipi123
 * @date : 2023-7-20
 */
@ApiModel(value = "上报日志表的查询条件")
@Data
public class SbLogQueryVO {

    @Id
    @ApiModelProperty(value = "id", example = "64b8eef808983118834b1f92")
    private String id;

    /**
     * 返回码
     */
    @ApiModelProperty(value = "返回码", example = "200")
    private Integer responseCode;

    /**
     * 返回详情
     */
    @Like
    @ApiModelProperty(value = "返回详情", example = "数据")
    private String responseMessage;

    /**
     * 其他数据
     */
    @ApiModelProperty(value = "其他数据", example = "")
    private JSONObject data;

    /**
     * 统一社会信用代码
     */
    @ApiModelProperty(value = "统一社会信用代码", example = "9153010066260441XH")
    private String enterpriseCode;

    /**
     * 上传数据项编码
     */
    @ApiModelProperty(value = "上传数据项编码", example = "0200AP0102330011")
    private String dataCode;

    /**
     *采集数据项指标名称
     */
    @ApiModelProperty(value = "采集数据项指标名称", example = "磨边机-电能耗")
    private String collectItemName;

    /**
     * 数据统计时间
     */
    @ApiModelProperty(value = "数据统计时间", example = "2022-04-26 00:00:00")
    private String statDate;

    /**
     * 当前页数
     */
    @ApiModelProperty(value = "当前页数", example = "1")
    @PageNum
    private long pageNum = 1;

    /**
     * 一页数据最多有多少条数据
     */
    @ApiModelProperty(value = "一页数据最多有多少条数据", example = "10")
    @PageSize
    private long pageSize = 10;

}
